package com.gopay.common.domain.acps;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Version;

import com.gopay.common.domain.BaseEntity;


@Entity
@Table(name = "ACPS_CALC_BALANCE")
public class AcpsCalcBalance extends BaseEntity {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    public static final String SEQUENCE = "ACPS_CALC_BALANCE_SEQ";

    private long id;
    private BigDecimal beginDr;
    private BigDecimal beginCr;
    private BigDecimal endDr;
    private BigDecimal endCr;
    private BigDecimal currD;
    private BigDecimal currC;
    private String isSuccess;
    private String status;
    
    private Date created;
    private Date modified;
    private Date beginDate;
    private Date endDate;
    
    @Id
    @Column(name = "ID", unique = true, nullable = false, precision = 22, scale = 0)
    public long getId() {
        return id;
    }
    public void setId(long id) {
        this.id = id;
    }
    @Column(name = "BEGIN_DR", nullable = false, precision = 25, scale = 4)
    public BigDecimal getBeginDr() {
        return beginDr;
    }
    public void setBeginDr(BigDecimal beginDr) {
        this.beginDr = beginDr;
    }
    @Column(name = "BEGIN_CR", nullable = false, precision = 25, scale = 4)
    public BigDecimal getBeginCr() {
        return beginCr;
    }
    public void setBeginCr(BigDecimal beginCr) {
        this.beginCr = beginCr;
    }
    @Column(name = "END_DR", nullable = false, precision = 25, scale = 4)
    public BigDecimal getEndDr() {
        return endDr;
    }
    public void setEndDr(BigDecimal endDr) {
        this.endDr = endDr;
    }
    @Column(name = "END_CR", nullable = false, precision = 25, scale = 4)
    public BigDecimal getEndCr() {
        return endCr;
    }
    public void setEndCr(BigDecimal endCr) {
        this.endCr = endCr;
    }
    @Column(name = "CURR_D", nullable = false, precision = 25, scale = 4)
    public BigDecimal getCurrD() {
        return currD;
    }
    public void setCurrD(BigDecimal currD) {
        this.currD = currD;
    }
    @Column(name = "CURR_C", nullable = false, precision = 25, scale = 4)
    public BigDecimal getCurrC() {
        return currC;
    }
    public void setCurrC(BigDecimal currC) {
        this.currC = currC;
    }
    @Column(name = "IS_SUCCESS", nullable = false, length = 2)
    public String getIsSuccess() {
        return isSuccess;
    }
    public void setIsSuccess(String isSuccess) {
        this.isSuccess = isSuccess;
    }
    @Column(name = "STATUS", nullable = false, length = 2)
    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    @Column(name = "CREATED", nullable = false)
    public Date getCreated() {
        return created;
    }
    public void setCreated(Date created) {
        this.created = created;
    }
    @Column(name = "MODIFIED", nullable = false)
    public Date getModified() {
        return modified;
    }
    public void setModified(Date modified) {
        this.modified = modified;
    }
    @Column(name = "BEGIN_DATE", nullable = false)
    public Date getBeginDate() {
        return beginDate;
    }
    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }
    @Column(name = "END_DATE", nullable = false)
    public Date getEndDate() {
        return endDate;
    }
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
    
    
}
